package com.epam.edu.task03.runner;

import com.epam.edu.task03.parser.ParserFactory;
import com.epam.edu.task03.parser.XMLParserDOM;
import com.epam.edu.task03.parser.XMLParserSAX;
import com.epam.edu.task03.parser.XMLParserStAX;
import org.xml.sax.SAXException;

import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;

public class App {
    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {

        ParserFactory saxParser = new XMLParserSAX();
        saxParser.getDancesDatas();

        ParserFactory staxParser = new XMLParserStAX();
        staxParser.getDancesDatas();

        ParserFactory DOMParser = new XMLParserDOM();
        DOMParser.getDancesDatas();

    }
}
